package com.ruoyi.Unit.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 存储单元的对象 Study_Unit
 *
 * @author luobom
 * @date 2021-12-03
 */
public class StudyUnit extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 唯一id */
    private String uid;

    /** 单元 */
    @Excel(name = "单元")
    private String unit;

    /** 关联课程 */
    @Excel(name = "关联课程")
    private String courseuid;

    public void setUid(String uid)
    {
        this.uid = uid;
    }

    public String getUid()
    {
        return uid;
    }
    public void setUnit(String unit)
    {
        this.unit = unit;
    }

    public String getUnit()
    {
        return unit;
    }
    public void setCourseuid(String courseuid)
    {
        this.courseuid = courseuid;
    }

    public String getCourseuid()
    {
        return courseuid;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("uid", getUid())
                .append("unit", getUnit())
                .append("remark", getRemark())
                .append("createTime", getCreateTime())
                .append("createBy", getCreateBy())
                .append("updateTime", getUpdateTime())
                .append("updateBy", getUpdateBy())
                .append("courseuid", getCourseuid())
                .toString();
    }
}